package com.amigo.online.provider.manager.model.entity;

import javax.persistence.Column;
import javax.persistence.Table;

import org.apache.ibatis.type.Alias;

import com.amigo.online.provider.manager.util.param.dto.PageDto;

@Table(name = "group_tbl")
@Alias(value = "group")
public class Group extends PageDto {

    private static final long serialVersionUID = 1L;

    /**
     * 群主id
     */
    @Column(name = "user_id")
    private Integer userId;
    /**
     * 名称
     */
    @Column(name = "name")
    private String name;
    /**
     * 头像
     */
    @Column(name = "avatar")
    private String avatar;

    /**
     * 介绍
     */
    @Column(name = "introduction")
    private String introduction;

    /**
     * 国家
     */
    @Column(name = "country")
    private Integer country;

    /**
     * 身份
     */
    @Column(name = "province")
    private Integer province;
    /**
     * 城市
     */
    @Column(name = "city")
    private Integer city;

    /**
     * 地址
     */
    @Column(name = "address")
    private String address;

    /**
     * 经度
     */
    @Column(name = "longitude")
    private String longitude;

    /**
     * 纬度
     */
    @Column(name = "latitude")
    private String latitude;
    /**
     * 种类id
     */
    @Column(name = "category")
    private Integer category;

    /**
     * 状态：1为正常，0为禁用
     */
    @Column(name = "status")
    private Integer status;

    /**
     * 审核：1为待审核，0为审核不通过，2为通过
     */
    @Column(name = "checked")
    private Integer checked;

    /**
     * 调查
     */
    @Column(name = "checked_info")
    private String checkedInfo;

    /**
     * 检查时间
     */
    @Column(name = "checked_time")
    private Integer checkedTime;


    /**
     * 加群是否需要审核：0为不需要，1为需要
     */
    @Column(name = "examine")
    private Integer examine;

    /**
     * 类型:1为普通群，2为VIP群，3为高级群
     */
    @Column(name = "type")
    private Integer type;
    /**
     * 关键字
     */
    @Column(name = "keywords")
    private String keywords;

    /**
     * 解散群
     */
    @Column(name = "disbanded")
    private Integer disbanded;

    /**
     * 解散时间
     */
    @Column(name = "disbanded_time")
    private Integer disbandedTime;


    /**
     * 修改时间
     */
    @Column(name = "updated_time")
    private Integer updatedTime;


    /**
     * 创建人id
     */
    @Column(name = "created_user_id")
    private Integer createdUserId;


    public Integer getUserId() {
        return userId;
    }


    public void setUserId(Integer userId) {
        this.userId = userId;
    }


    public String getName() {
        return name;
    }


    public void setName(String name) {
        this.name = name;
    }


    public String getAvatar() {
        return avatar;
    }


    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }


    public String getIntroduction() {
        return introduction;
    }


    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }


    public Integer getCountry() {
        return country;
    }


    public void setCountry(Integer country) {
        this.country = country;
    }


    public Integer getProvince() {
        return province;
    }


    public void setProvince(Integer province) {
        this.province = province;
    }


    public Integer getCity() {
        return city;
    }


    public void setCity(Integer city) {
        this.city = city;
    }


    public String getAddress() {
        return address;
    }


    public void setAddress(String address) {
        this.address = address;
    }


    public String getLongitude() {
        return longitude;
    }


    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }


    public String getLatitude() {
        return latitude;
    }


    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }


    public Integer getCategory() {
        return category;
    }


    public void setCategory(Integer category) {
        this.category = category;
    }


    public Integer getStatus() {
        return status;
    }


    public void setStatus(Integer status) {
        this.status = status;
    }


    public Integer getChecked() {
        return checked;
    }


    public void setChecked(Integer checked) {
        this.checked = checked;
    }


    public String getCheckedInfo() {
        return checkedInfo;
    }


    public void setCheckedInfo(String checkedInfo) {
        this.checkedInfo = checkedInfo;
    }


    public Integer getCheckedTime() {
        return checkedTime;
    }


    public void setCheckedTime(Integer checkedTime) {
        this.checkedTime = checkedTime;
    }


    public Integer getExamine() {
        return examine;
    }


    public void setExamine(Integer examine) {
        this.examine = examine;
    }


    public Integer getType() {
        return type;
    }


    public void setType(Integer type) {
        this.type = type;
    }


    public String getKeywords() {
        return keywords;
    }


    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }


    public Integer getDisbanded() {
        return disbanded;
    }


    public void setDisbanded(Integer disbanded) {
        this.disbanded = disbanded;
    }


    public Integer getDisbandedTime() {
        return disbandedTime;
    }


    public void setDisbandedTime(Integer disbandedTime) {
        this.disbandedTime = disbandedTime;
    }


    public Integer getUpdatedTime() {
        return updatedTime;
    }


    public void setUpdatedTime(Integer updatedTime) {
        this.updatedTime = updatedTime;
    }


    public Integer getCreatedUserId() {
        return createdUserId;
    }


    public void setCreatedUserId(Integer createdUserId) {
        this.createdUserId = createdUserId;
    }


}
